﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Drawing;
using Arjones.Controls;

namespace TestForArjone
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Panel1.BackColor = Color.Red;
            Panel1.BackImageUrl = "http://ocw.mit.edu/NR/rdonlyres/Global/6/6263B5E2-4D16-4493-996C-C348936821EE/0/chp_business_typing.jpg";
            Panel1.Width = SWFObject1.Width;
            Panel1.Height = SWFObject1.Height;

            SWFObject1.FlashParams.Add("wmode", "transparent");
            SWFObject1.FlashUrl = "http://imgfree.21cn.com/free/flash/208.swf";

            
            

            for(int i =200; i<300; i++)
            {
                SWFObject swfObject = new SWFObject();
                swfObject.Height = 200;
                swfObject.Width = 400;
                swfObject.FlashUrl = string.Format("http://imgfree.21cn.com/free/flash/{0}.swf", i);
                Page.Controls.Add(swfObject);
            }

        }
    }
}
